package com.atguigu.gmall.list.service;

import com.atguigu.gmall.model.list.SearchParam;
import com.atguigu.gmall.model.list.SearchResponseVo;

/**
 * @author Fxz
 * @version 1.0
 * @date 2022-02-12 16:11
 */
@SuppressWarnings("all")
public interface SearchService {

	/**
	 * 商品上架
	 */
	void upperGoods(Long skuId);

	/**
	 * 商品下架
	 */
	void lowerGoods(Long skuId);

	/**
	 * 更新热度值
	 */
	void incrHotScore(Long skuId);

	/**
	 * 检索数据
	 * @param searchParam 检索条件
	 */
	SearchResponseVo search(SearchParam searchParam);

}
